<template>
  <div class="ch-liuyan">
    <div class="ch-gohome"><router-link to="/"><span>主页</span><i class="el-icon-paperclip"></i></router-link></div>
    <div class="ch-liuyan-top">
      <img src="../assets/touxiang.jpg" />
    </div>
    <h3>404 NOT FOUND!</h3>
    <div>
    <img class="found" src="../assets/404.jpg"/></div>
  </div>
</template>

<script>
</script>

<style scoped>
  .ch-gohome{
    z-index: 10;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 1em;
    right: 1em;
    border-radius: 50%;
    text-align: center;
    border: #82807c solid 3px;
  }
  .ch-gohome a{
    text-decoration: none;
  }
  .found{
    width: 20em;
    height: auto;
    margin: 0 auto;
  }
  .ch-gohome a span{
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 50px;
    color: red;
    border-radius: 50%;
    display: block;
  }
  .ch-gohome:hover a span{
    animation: yc 0.3s;
    animation-fill-mode: forwards;
    animation-delay: 0s;
    -webkit-animation: yc 0.3s;
    -webkit-animation-delay: 0s;
    -webkit-animation-fill-mode: forwards;
  }
  .ch-gohome:hover a i{
    animation: xs 0.2s;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
    -webkit-animation: xs 0.2s;
    -webkit-animation-delay: 0.3s;
    -webkit-animation-fill-mode: forwards;
  }
  .ch-gohome a i{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    font-size: 22px;
    line-height: 50px;
    background-color: greenyellow;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform:rotate(0deg);
    transform:rotate(0deg);
  }
  @keyframes yc{
    0%{
      -webkit-transform:rotate(0deg);
      transform:rotate(0deg);
      opacity: 1;
    }
    100%{
      -webkit-transform:rotate(180deg);
      transform:rotate(180deg);
      opacity: 0;
    }
  }
  @-webkit-keyframes yc{
    0%{
      -webkit-transform:rotate(0deg);
      transform:rotate(0deg);
      opacity: 1;
    }
    100%{
      -webkit-transform:rotate(180deg);
      transform:rotate(180deg);
      opacity: 0;
    }
  }
  @keyframes xs{
    0%{
      opacity: 0;
      -webkit-transform:rotate(0deg);
      transform:rotate(0deg);
    }
    100%{
      opacity: 1;
      -webkit-transform:rotate(180deg);
      transform:rotate(180deg);
    }
  }
  @-webkit-keyframes xs{
    0%{
      opacity: 0;
      -webkit-transform:rotate(0deg);
      transform:rotate(0deg);
    }
    100%{
      opacity: 1;
      -webkit-transform:rotate(180deg);
      transform:rotate(180deg);
    }
  }
.ch-liuyan{
  width: 1000px;
  height: auto;
  margin: 0px auto;
  text-align: center;
}
.ch-liuyan-top img{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  left: 0;
}
.ch-liuyan-top{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
}
.ch-liuyan-top:hover img{
   transform: scale(1.2);
}
.ch-liuyan-top:hover{
}
@media (max-width:768px){
  .ch-liuyan{
    width: 80%;
    height: auto;
    margin: 0px auto;
    text-align: center;
  }
}
</style>
